home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -screenplay- / shareware / hammytown / 9.room < prev    next >
Text File  |  1999-02-08  |  3KB  |  140 lines

  1. /*                     This is a room file for GRAAL
  2. /*
  3. /*                                 9.room
  4.  
  5.  
  6. /* UPDATE: scroll_frames;normal_frames
  7. /*
  8. /*
  9. UPDATE: 3;1
  10.  
  11. /* SECTION: section number
  12. /*
  13. /*   The room belongs to section 1, described in the file 1.section.
  14. /*
  15. SECTION: 1
  16.  
  17. /* BG_IFF: filename
  18. /*
  19. /*   This is the backdrop file for the room
  20. /*
  21. BG_IFF: 9BG.IFF
  22.  
  23. /* START_POS: sposno;bobimage;x;y;camera;floor
  24. /*
  25. /* 1->Village, 2->Living Room
  26. START_POS: 1;13;6;104;L;1
  27. START_POS: 2;11;256;77;M;1
  28.  
  29. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  30. /*
  31. FLOOR: 1;0;72;319;120;1-1
  32.  
  33. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  34. /*
  35. EXIT: 1;0;57;21;120;6;109;Village
  36. EXIT: 2;242;16;271;70;255;76;Living Room
  37.  
  38. /* CLPART: filename
  39. /*
  40. CLPART: 3FG.IFF
  41.  
  42. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  43. /*
  44. /* 1 is the dodgy cockerel!
  45. ROOMBOBS: 1;1;117;181;54;64;20;0
  46. /* 2 is the glass.
  47. ROOMBOBS: 1;2;184;190;28;26;0;0
  48. /* 3 is the certificate.
  49. ROOMBOBS: 1;3;174;222;48;23;18;0
  50.  
  51. /* STATIC: bobno;LBOBimage;putx;puty
  52. /* ANIM: bobno;bobimg;amalchannel;amalsequence;putx;puty
  53.  
  54. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  55. /*
  56. /*
  57. ROOMOBJ: 1;Cockerel;9;VIS;51;RBOB1;51;72;-30;3;14; ;NPICK; ;8; ;MID;AD;a;it; 
  58.  
  59. /* DACT: condition;...;action;...
  60. /*
  61. /*   These lines contain room actions performed directly as you enter the
  62. /*   room.
  63. /*
  64. /* Light up scene
  65. DACT: TRACK MUSIC.05.MOD,LOOP,NOFILTER;LIGHTS ON
  66. DACT: IFRF 1=0;SAY Yuk! Look at the wallpaper!;SETRF 1=1;EXIT
  67.  
  68. /* LINE: dlgno;lineno;line;reuseline;conditions
  69. /*
  70. /*   Specifies a line of dialogue
  71. /*
  72. /* LACT: dlgno;lineno;action;...;action
  73. /*
  74.  
  75.  
  76.  
  77. /* Room actions follow below ***
  78. /*
  79. /* ACTION: verbno;condition;...;command;...
  80.  
  81. /*
  82. /* Action 0 - Exit
  83. /* ===============
  84. /*
  85. ACTION: 0;IFOBJ 1;MEXIT;GOTO 8,3
  86. ACTION: 0;IFOBJ 2;MEXIT;GOTO 10,1;EXIT
  87.  
  88. /*
  89. /* Action 1 - Give
  90. /* ===============
  91. /*
  92. /* Action 2- Pick up
  93. /* =================
  94. /*
  95. ACTION: 2;IFOBJ ROBJ1;SAY That cockerel is too damn heavy for me to carry.;EXIT
  96. ACTION: 2;IFOBJ ROBJ4;SAY It's too big to carry.;SAY I can't reach it, either.;EXIT
  97.  
  98. /*
  99. /* Action 3 - Use
  100. /* ==============
  101. /*
  102.  
  103. ACTION: 3;IFOBJ ROBJ4;SAY It's a neat picture, but I don't think it will be useful for anything.;EXIT
  104.  
  105. /*
  106. /* Action 4 - Open
  107. /* ===============
  108. /*
  109.  
  110. /* Action 5 - Talk to
  111. /* ==================
  112. /*
  113. ACTION: 5;IFOBJ 1;SAY Hello, you stupid cockerel!;SAY Hang on, it's a wooden one, why am I talking to it?;EXIT
  114.  
  115. /*
  116. /* Action 6 - Push
  117. /* ===============
  118. /*
  119. ACTION: 6;IFOBJ ROBJ1;MOBJ;HANDLE;SAY Well, I bet you were thinking that would open a secret door!;SAY Well, it didn't seem to, anyway.;EXIT
  120.  
  121. /*
  122. /* Action 7 - Close
  123. /* ================
  124.  
  125. /*
  126. /* Action 8 - Look at
  127. /* ==================
  128. /*
  129. ACTION: 8;MOBJ
  130. ACTION: 8;IFOBJ ROBJ1;SAY It's a large wooden cockerel.;SAY Pointless, but fun!;EXIT
  131. ACTION: 8;IFOBJ ROBJ4;SAY An Amiga picture.;SAY The person who owns this house must have taste.;EXIT
  132. /*
  133. /* Action 9 - Pull
  134. /* ===============
  135. /*
  136. ACTION: 9;IFOBJ ROBJ1;VERB 6;REDO
  137. /*
  138. /* End of room file. Some comments must be here, otherwise  the last command
  139. /* line is missed out!
  140.